PowerShell

-c (New-Object Media.SoundPlayer 'C:\Windows\Media\logoff.wav').PlaySync();